public class Cat extends Animal {
    public int legs = 4;

    public void cathRat() {
        System.out.println("抓老鼠");
    }

    public void eat() {
        System.out.println("猫吃鱼");
    }
}
